package com.soxing.braindata.web.controller;

import com.soxing.braindata.domain.vo.HomePageStatVo;
import com.soxing.common.utils.response.WebResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author :durango
 * @date :2022/6/11 19:18
 * @description 首页控制器
 */
@Slf4j
@RestController
@RequestMapping("/home")
@Api(value = "首页", tags = {"首页"})
public class HomeController {

    @GetMapping("/index")
    @ApiOperation(value = "首页")
    public WebResponse<HomePageStatVo> index() {
        return WebResponse.success();
    }
}
